package com.nbsaas.boot.project.rest.convert;

import com.nbsaas.boot.project.api.domain.response.ProjectTaskTagResponse;
import com.nbsaas.boot.project.data.entity.ProjectTaskTag;
import com.nbsaas.boot.rest.api.Converter;
import com.nbsaas.boot.utils.BeanDataUtils;
/**
 * 任务标签-实体对象转化成响应对象
 */

public class ProjectTaskTagResponseConvert implements Converter<ProjectTaskTagResponse, ProjectTaskTag> {

    @Override
    public ProjectTaskTagResponse convert(ProjectTaskTag source) {
        ProjectTaskTagResponse result = new ProjectTaskTagResponse();
        BeanDataUtils.copyProperties(source, result);
        return result;
    }

}

